import * as React from 'react';
import { FormattedMessage, defineMessages } from 'react-intl';
/**
 * 页面属性
 */

const messages = defineMessages({
  welcome: {
    id: 'Dashboard.welcome',
    defaultMessage: 'Welcome to ANTD-TS-ADMIN'
  }
});

interface PageProps {
}

const Dashboard: React.StatelessComponent<PageProps> = (state) => {
  // console.log(state);
  return (
    <div>
      <h1><FormattedMessage {...messages.welcome}/></h1>
    </div>
  );
}

export default Dashboard;
